package com.sdry.web.controller.hpf;

import java.math.BigDecimal;
 
public class Test {
 
	public static void main(String[] args) {
		float num1 = 0.78f;
		int num2 = 7;
		float num3 = 5.46f;
		float num4 = 0.78f;
		BigDecimal a = new BigDecimal(String.valueOf(num1));
        BigDecimal b = new BigDecimal(String.valueOf(num2));
        BigDecimal a1 = new BigDecimal(String.valueOf(num3));
        BigDecimal b1 = new BigDecimal(String.valueOf(num4));
        float retValue1=0f;
        float retValue2=0f;
        retValue1=a.multiply(b).floatValue();
        retValue2=a1.subtract(b1).floatValue();
        System.out.println(retValue1);
        System.out.println(num1*num2);
        System.out.println(retValue2);
        System.out.println(num1*num2-num1*1);
        System.out.println(num1/num4);
	}
 
}

